package whf.shop.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.util.BeanFactory;
import whf.shop.dao.ProductCategoryDAO;
import whf.shop.entity.ProductCategory;

/**
 * 服务对象具体实现，委托相应的dao对象实现相关操作
 * 
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2007-01-11
 */
public class ProductCategoryServiceImp extends whf.framework.service.ServiceImp<ProductCategory>
		implements ProductCategoryService {

	private ProductCategoryDAO productCategoryDAO;

	public void setProductCategoryDAO(ProductCategoryDAO productCategoryDAO) {
		this.productCategoryDAO = productCategoryDAO;
	}

	public static ProductCategoryService getProductCategoryService()
			throws ServiceNotFoundException {
		return (ProductCategoryService) BeanFactory
				.getService(ProductCategoryServiceImp.class);
	}

}